package com.ldp.designpatterns.review.create.factory.abstractfactory.factory;

import com.ldp.designpatterns.review.create.factory.abstractfactory.service.*;

/**
 * @ClassName SodaFactory
 * @Description 套餐2：饮料+胡椒套餐
 * @Author lindipei
 * @Date 2023/10/20 11:29
 */
public class SodaFactory implements AbstractFactory{
    @Override
    public Drink createDrink() {
        return new SodaDrink();
    }

    @Override
    public Pizza createPizza() {
        return new ChessPizza();
    }
}
